package org.example.javaweb.repository.admin;

import org.example.javaweb.entity.User;

import java.util.List;

public interface UserManagement {
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(User user);
    User findUserById(User user);
    User findUserByName(User user);
    List<User> findAllUsers();
}
